function global_test()
    global_var = 10;
    local local_var = 1;
end
-- 运行以后才会出现该变量 nil
print(global_var)
global_test()
print(global_var)
